-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Don't assume repl input is only 2 statements #7530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have tests for that?
I've checked and there are no tests or framework for |
47391e6
to
1e4dd49
Compare
@bishabosha could you make the commit message start with |
1e4dd49
to
f9c7f1a
Compare
I've adjusted the commit message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
f9c7f1a
to
e028fb6
Compare
fix #7529
each statement in repl input that contains a
def
annotated with@main
generates a new typedef that appears after the typedef containing the repl input